﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QL_DTTN.DTO.DTO
{
  public partial  class Truong:DtoClass
    {
      public Truong()
      { 
          _tableName = "Truong";
          _keyField = "MaTruong";
      }
      public Truong(string maTruong,string tenTruong,string diaChi,Int16 maTinh)
      {
          _tableName = "Truong";
          _keyField = "MaTruong";
          this.MaTruong = maTruong;
          this.TenTruong = tenTruong;
          this.DiaChi = diaChi;
          this.MaTinh = maTinh;
      }
      private string _maTruong = "";

      public string MaTruong
      {
          get { return _maTruong; }
          set { _maTruong = value; }
      }
      private string _tenTruong = "";

      public string TenTruong
      {
          get { return _tenTruong; }
          set { _tenTruong = value; }
      }
      private string _diaChi = "";

      public string DiaChi
      {
          get { return _diaChi; }
          set { _diaChi = value; }
      }
      private Int16 _maTinh = 0;

      public Int16 MaTinh
      {
          get { return _maTinh; }
          set { _maTinh = value; }
      }
    }
}
